<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>外部样式</title>

    <!--创建css文件,在css文件中控制div样式
    -->

    <link rel="stylesheet" href="../css/01.css">
</head>
    <body>
    <div>div1</div>
    <div>div2</div>

    </body>
</html>